import { Classroom,Me,Send,Logout,Home } from '@icon-park/vue-next';

export interface sidebarConfig {
    name:string,
    path:string,
    icon:any
}

export const sidebarRules:sidebarConfig[] = [
    {
        name: '主页',
        path: '/main',
        icon: Home
    },
    {
        name: '课程资源',
        path: '/main/course',
        icon: Classroom
    },
    {
        name: '个人中心',
        path: '/main/personcenter',
        icon: Me
    },
    {
        name: '发布帖子',
        path: '/main/publish',
        icon: Send
    },
    {
        name: '退出平台',
        path: '/login',
        icon: Logout
    },
]